const editorView = [
  {
    name: 'mavon',
    path: '/editor/mavon',
    component: resolve => require(['@/views/editor/mavon/mavonEditor.vue'], resolve),
    meta: { title: 'mavon富文本编辑器' }
  },
  {
    name: 'codemirror',
    path: '/editor/codemirror',
    component: resolve => require(['@/views/editor/codemirror/codemirrorEditor.vue'], resolve),
    meta: { title: 'CodeMirror编辑器' }
  },
  {
    name: 'sqlDesign',
    path: '/editor/sqlDesign',
    component: resolve => require(['@/views/editor/sqlDesign/sqlDesign.vue'], resolve),
    meta: { title: 'SQL编辑器' }
  }
]

export default (function () {
  return [
    ...editorView
  ]
})()
